.legal-concept-puzzle {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.legal-concept-puzzle .definition-slots {
  min-height: 100px;
  border: 1px dashed #d9d9d9;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
  background-color: rgba(240, 247, 255, 0.5);
}

.legal-concept-puzzle .slots-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-concept-puzzle .definition-slot {
  padding: 12px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: default;
}

.legal-concept-puzzle .definition-slot.empty {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px dashed #bfbfbf;
  min-height: 50px;
}

.legal-concept-puzzle .definition-slot.filled {
  background-color: #f0f7ff;
  border: 1px solid #91caff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-concept-puzzle .available-fragments {
  margin-top: 20px;
}

.legal-concept-puzzle .fragments-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.legal-concept-puzzle .fragment {
  padding: 15px;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.legal-concept-puzzle .fragment:hover {
  border-color: #1890ff;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.legal-concept-puzzle .congrats-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 300px;
}

.legal-concept-puzzle .hint-container {
  animation: fadeIn 0.5s ease-in-out;
  transition: all 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .legal-concept-puzzle .available-fragments {
    grid-template-columns: 1fr;
  }
} 